package org.jeecg.modules.vue.prop.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: t_prop
 * @Author: jeecg-boot
 * @Date:   2023-05-29
 * @Version: V1.0
 */
@Data
@TableName("prop")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="prop对象", description="t_prop")
public class Prop implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**物品名称*/
	@Excel(name = "物品名称", width = 15)
    @ApiModelProperty(value = "物品名称")
    private String name;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String description;
	/**0实体，1虚拟，2价值点*/
	@Excel(name = "0实体，1虚拟，2价值点", width = 15)
    @ApiModelProperty(value = "0实体，1虚拟，2价值点")
    private Integer type;
	/**物品状态，0正常，1删除*/
	@Excel(name = "物品状态，0正常，1删除", width = 15)
    @ApiModelProperty(value = "物品状态，0正常，1删除")
    private Integer status;
	/**物品数量*/
	@Excel(name = "物品数量", width = 15)
    @ApiModelProperty(value = "物品数量")
    private Integer num;
	/**价值点*/
	@Excel(name = "价值点", width = 15)
    @ApiModelProperty(value = "价值点")
    private Double price;
	/**2积分*/
	@Excel(name = "2积分", width = 15)
    @ApiModelProperty(value = "2积分")
    private Integer priceType;
	/**道具展示图*/
	@Excel(name = "道具展示图", width = 15)
    @ApiModelProperty(value = "道具展示图")
    private String url;
	/**物品创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "物品创建时间")
    private Date createTime;
}
